fix bug in file name when shot name with spaces is entered