This is almost certainly due to a windows limitation, which is in turn caused by compatibility for a DOS hack where a bunch of devices were visible through special file names. CON is the more famous one of those.
Microsoft still recommends avoiding those file names. https://docs.microsoft.com/en-us/windows/win32/fileio/naming...