MAINT: Use check_output when merging.
Since we don't support Python 2.6 anymore, the `check_output` method from `subprocess` is
at our disposal.

Follow-up to #14447.

xref <a href="https://github.com/pandas-dev/pandas/issues/14439#issuecomment-254522055"> #14439 (comment)</a>
