file(WRITE): Add HEX mode to write binary data to file.
Currently, it is possible to read a binary file with a file(READ binary.file bin_file_var HEX) command. But file(WRITE ...) have not symmetric alternative that provides write HEX string to the binary file.
Edited by Brad King