Don't try to get a file for an empty path.