append messages when use print_file option instead of rewriting file

Current version of redbug rewrites the entire file with the latest message. At least it is so on Mac OS.
In my PR I just changed open file option from write to append.