Fixing all image locations for new file handling.