Update challenge_image_uploader.rb

Fixes #267
Merge pull request #305 from boersmamarcel/fixpdfpngimages

Update challenge_image_uploader.rb