Create deploy directories before writing to them