refactor: Change `storeResult` to `write`.

fixes #21
Merge pull request #26 from shane-tomlinson/issue-21-write

refactor: Change `storeResult` to `write`.