Python Write Subprocess Output Tax