r24023: Correctly support REG_BINARY in registry_push_value() and