correct filenames for saving picture