Make "private" hdfs_file functions static