MogileImage#resize_image breaks when symbol is given as a format