Issue 12658 - Emit informative diagnostic when file with a platform-incompatible extension is found.

https://issues.dlang.org/show_bug.cgi?id=12658