esml-mlb-mode: Get working with emacs server

The previous uses of 'shell-command' were fragile and did not work with
'emacs --daemon' - the process simply crashed with a
backtrace. Switching the uses of 'shell-command' to
'shell-command-to-string' removed this fragility.