Fix for https://github.com/ppittle/pMixins/issues/16 - Don't write file if no changes.