Python Subprocess Output To String Sql