Rework hadoop fs file read. misc fixes