Add an A to the end of a filename if it already exists in the output directory