core, swing: UILayerService.showFileChooser returns a filename instead of a File.