Move `tmp-sync` to a dev dependency.

It is approximate 2MB, and is not used in non-test code.
Merge pull request #1882 from rwjblue/move-tmp-sync-to-dev-dep

Move `tmp-sync` to a dev dependency.