refactored out utils, corrected unit test for HDFSFileUtils