Mkdir on file write.