Fix output paths.