Fixes favicon issues in Windows (#5559)

See https://github.com/joomla/joomla-cms/issues/5559 for details