Allow nested output path, if path does not previously exist.

Closes #1762.