python subprocess stdin file