Java shim: fix return filesize() return code to propagate error code to the java layer.
Hadoop shim: fix input stream exception propagation, by using kfs_open_ex instead of kfs_open in QFSInputStream constructor.