stdin/stdout/stderr always use bytes