Update thumbnail-generator.rb with resize_to_fit