Updated to work with Python 3.3 where winreg no longer has a prefix.