Error correction

Corrects an error where an empty file is not properly created, when it
previously existed.