Fix fileNameForCurrentView() returning file names containing a colon