Revert "write to data dir"
Revert "write to data dir"

This reverts commit 60a4cb610257c6acfa51e2851e55d395377ee935 [formerly 49e2ae0dbdc83f6f47b4f3c0e8888827bfea90e4].


Former-commit-id: b4a2872ede0ef69348c6b9090a660db9bb547c9a
syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin,syscoin/syscoin