If directory doesn't exist, create it.