Support argument expansion in command, as in scrot.

Thanks very much for the useful program. This simple commit adds support for argument expansion in the provided command, a feature which I depended on in scrot. It should not break any existing functionality.