Work around bug in Python subprocess for remctl