util: Use canonicalFilePath to clean the path opened by explorer.

This fixes bug #2299