Changed file writing to be atomic
Changed file writing to be atomic

Signed-off-by: Jared Kuolt <b1c1d8736f20db3fb6c1c66bb1455ed43909f0d8@superjared.com>
radiac/staticgenerator,ricktaylord/django-static-generator,andrewsmedina/staticgenerator,robot-republic/staticgenerator,lucky/staticgenerator,2general/staticgenerator