Add CheckedPath helper method to avoid FsFile.toString().