fixed FileSystem.remove