filesystem: minor fixes