Don't use java.io.File since DFS may not be POSIX-compatible