Fix streaming compressed files when using encryption; patch by yukim reviewed by iamaleksey for CASSANDRA-5391