also enable save hex command for windows properly

Signed-off-by: Arnav Gupta <championswimmer@gmail.com>