[image_upload] bug fix for rmagick