add tool for writing a hex dump file