Added a hack to allow files to be written out, when I forget to sudo