python subprocess stdout and stderr to same file