[Filesystem] Fix test suite on OSX