HDFS-7014. Implement input streams and file system functionality (zhwangzw via cmccabe)