Ensure stdout is a native string before attempting to split() it