Remove pty=True from invoke.py to fix #53

After 1.0.0 release, I'm seeing the issue in #53 constantly now.