Improve fileutils test coverage