filesystem: Some fixes.