Ensure that the Gateway returns an integer for the status code. RE: symphonycms/jit_image_manipulation#78