GEOMESA-604 writing bin files directly to output stream

also cleaning up geomesa tools script to work without explicit GEOMESA_HOME set.