Trivial file writer.