Fix issue with $pipestatus

$pipestatus is a space-separated int list and not a single int.