utils.run: Add cwd param to pass a cwd to subprocess.Popen.

Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com>