Fixed writing REG_BINARY values to the .reg file;