Add popen wrapper that does not invoke the shell, avoiding escaping issues