Replace canonicalize_file_name by realpath

canonicalize_file_name is not portable.

Fixes https://sourceforge.net/apps/trac/easystroke/ticket/118