sane-client fixes

Fixing some oversights in the emacsclient(1)-related refactoring.