Wrong. The directory does not need to exist first. Reverted commit