Fix Stdio::piped example code and lint
#64294
Merged
Stdio::piped example code and lint
#64294