Fixed in the next release. This only occurred during XenForo installation. It was also possible to have the wrong icon chosen automatically in some cases.
The upgrade script to 4.0.18 will try to automatically fill any file-type icon fields that are still empty.