Fixing issues related to gzip encoded content and prefix.

Tested both with prefix and without prefix scenarios.
Bumping version.