Escape filenames for use with semantic menu commands

Fixes #266 by escaping filenames with quotes so that they can be properly used by tools listed in the semantic menu.
This approach (as opposed to that found in a0def85875f8625aedcb50c19a83094955c098e0) is better for readability and for use with the clipboard if a group of text is selected and then copied.