fix issue with GET on large object (icehouse-backport)

This is a manual backport of:
https://github.com/swiftonfile/swiftonfile/pull/16

Signed-off-by: Prashanth Pai <ppai@redhat.com>