Merge pull request #169 from adam-m/master

addFile() fixes
java bindings: fix find by hash query to be a string query