Rename the enum type Version to QrVersion.

Recent changes made enum names live in the type namespace as well. So we
need to rename to avoid name conflict.