Deal with size zero files correctly
Bring array_ref in line with File::Slurp
Add append option to write_file