Use os.path.join() to create file names

instead of the less robust string format solution which assumes the
Windows path seperator.