Added option for the case where on has an open writer for the file.
Merge branch 'master' of git@github.com:DawnScience/dawn-common.git