Create directory before trying to write to it
Secure directory (not necessary but nice)