common-main: call sanitize_stdfds()