Use readFileSync and writeFileSync for better performance.

Asynchronous functions have very unreliable performance, taking from 1ms up to 600ms.
Synchronous fs functions give much better and predictable performance (~1ms).

Related issue: https://github.com/gulpjs/gulp/issues/568