Write a string (usually a stringified IOR) to a file designated by the pathname. The file named will always get overwritten.
pathname