Atomically write to the Sass cache.

This fixes a concurrency issue with how Sass writes and reads files from the Sass cache.