Dupe folder cleanup, bugfix

https://github.com/syscoin/syscoin/issues/34

Closes #34