Miscellaneous cleanups, treat unknown value types as REG_BINARY