Open command.cmd pipe only if it exists.

Fixes #42