Sorry, here is a V2. The previous patch would fail for files with funny filenames that need escaping. This I have removed the call to 'shell-quote-argument' as 'call-process' doesn't want escapes.