Remove spaces from image file name