Restore $stderr to output exception if `exec` fails