Fixed problem with file extensions when exporting solutions from contest