WYRL: Fixed a minor bug with the new java file writer.  Currently contemplating whether or not there is a bug in the new file writer, or in the simpler rewriter.