Fixes #24 - all image assets downloaded are corrupted

Includes both of @yarongolan's suggested fixes