Fix bug that caused data to be unreadable from namecoind sometimes.
Merge pull request #1 from JeremyRand/master

Fix bug that caused data to be unreadable from namecoind sometimes.