Save a string to a file. This subroutine opens the file, creates it if it did not exist and prints the binary string to the file and closes the file. See also loadstring