Utility to resize images stored on Amazon S3