Ugly stacktrace when trying to upload a non-image file as a complex obs with the ImageHandler - TRUNK-2652