Add ASCII output option to write-binary and format-binary
Allow bytes-per-line to be specified for binary output