#84688TYPO3\CMS\Core\Resource\File->getPublicUrl returns boolean instead of string
Description
The getPublicUrl method of TYPO3\CMS\Core\Resource\File returns a boolean “false” if the file is missing (https://github.com/TYPO3/TYPO3.CMS/blob/master/typo3/sysext/core/Classes/Resource/File.php#L364).
This return type is wrong and breaks in TYPO3\CMS\Frontend\Typolink\FileOrFolderLinkBuilder with rawurldecode() (https://github.com/TYPO3/TYPO3.CMS/blob/master/typo3/sysext/frontend/Classes/Typolink/FileOrFolderLinkBuilder.php#L45).