WYRL: bug fix for new file writer.