Fixed a bug where the extension given to the uploaded image file was always jp2 wven when settings.SERVER_IMAGE_EXT is tif