Simple code to redirect process-wide standard error