Make output paths consistently relative to base.