@maxking this is the second part of my changes to fix filesystem.py behaviour and thus solve issue #439.
It's merge-ready, and we have to take care of it before I can merge the last part.
I took into account all remarks from @Barry and yours.
Cheers!