I need to insert hex values 0A and 0D into a string and then into a file. What is the best way to do this?