Add wrapper for fwrite() & update saveToBin(), saveToHex()