Rename write_to_file to dma_write and clarify usage
Add comments to printing of BASIC line number