Support: Add a utility to remap std{in,out,err} to /dev/null if closed