Fixes for AWS Glacier support (2013.07)

Fixes a few issues in the new AWS Glacier offline storage support.