log bytes written and read between scala and python

@Shopify/data-engineers hobo logging of bytes written and read. To be replaced by pushing to data dog.