python subprocess pipe output to stdout