Subdirectories are now created if they don't exist.