Update querying.clj

Fix adding ByteArrayOutputStream class definition and casting of changed-files-with-patch output to string