Add back import for Popen

Accidentally removed in ce13c7d6203325a80859cac5475ad45497eb1eb6