Hopefully fixed cleanup of something

Forgot what it was, need to look it up sometimes.
Added a very hackish local-only version for update_db_local.py

I case *someone* uses a OS that isn't supported by pexpect ...
removed subprocess.check_output

Didn't work on windows.
next try at this ...
... and again ...
there we go again
There we go
fixed windows compatibility