HADOOP-11012. hadoop fs -text of zero-length file causes EOFException. Contributed by Eric Payne

(cherry picked from commit 01e8f056d9b7245193e6050f9830ca058db02a6e)