python subprocess run stdout to string