Shorten URL for local files in failed-save message box
A local filename in the failed-save message box is displayed as file:///folder/. Using the QUrl::PreferLocalFile option shortens this to /folder/.