set up write_file() to take a two-argument form of input (filename, content) as a shorthand syntax alternative.
changed internal setting for list_dir( as_tree ) "no_dirmeta" to "dirmeta => 0"
new tests to make sure the recent changes to write_file() do not break anything or introduce bugs