Escape filenames for semantic menu commands

Fixes #266 by escaping filenames so that they can be properly used by tools listed in the semantic menu.
The incorporated special characters are located here:
http://www.tldp.org/LDP/abs/html/special-chars.html