Potential fix for image output.  It was previously hardcoded as png.
Merge branch 'master' of https://github.com/mapfish/mapfish-print