hack to allow trailing " in output path