Fix egregious bugs in LI and RI record parsing.
Fix egregious bugs in LI and RI record parsing.

Closes #11.

ohio813/python-registry,williballenthin/python-registry,williballenthin/shellbags,zweger/python-registry,azmikamis/python-registry,zweger/shellbags,NiKiZe/python-registry