Attempt to fix output path.