I’m not sure if this is intended behavior, but this is how it currently works - having a look at an old topic, it seems to be related to the directory listing functionality:
According to that same topic the ability to override it used to be there, or if not override then add custom icons, maybe @lovebug who had a look into it back then could help us: