Add .reg parsing for shim cache keys.  Note, changed the meaning of the --reg flag command line flag.