Create target directory if doesn't exist.

Otherwise -op and -od... won't work properly.