Using `subprocess` instead of deprecated `commands`

`commands` modules has been deprecated since Py2.6 and missing since Py3.0.