update sig file after each image write so that potential following errors do not lose that information for later attempts, resolves #5