remove special characters from image filenames so we dont error when creating thumbnails