Fixed truncate() when called on newly created file

If you created a new file, then immediately did createWriter and
writer.truncate, blob_ was null