run: Improve error diagnostics for chdir(2) failure.