Fixing a bug in importHDFS