CORE-243 - Fixed gulp file corrupting images