creating file before trying to chown it