Revert "revert support for relative output paths"

This reverts commit 263ed310ad798e047b82f6348b88078eb621785c.