Fix the example program for update to the included Oath library and add an example of saving a file