Only create parent directory if it doesn't exist.