[SF#922]Fix handling %c in desktop entry Exec key.

The launch may fail if the application name contains spaces.