Rewrite some sync vs. async calls, expose seedFileSync.