Fixes #24 - all image assets downloaded are corrupted

Includes both of @yarongolan's suggested fixes https://github.com/Shopify/shopify_theme/issues/24#issuecomment-16429259