Fixed exception (closes: #361)
Merge branch 'master' of https://github.com/cuckoobox/cuckoo
subkeyhandle should be an int, fixes registry logging