Attempt to handle resizing "*.jpg" files that are really GIFs