Remove spaces in filename

Supposedly this fixes the issue in which a space in a generated image name leads to a 404 on old Tomcats.
https://jira.thehyve.nl/browse/UAT-140