Different operating systems have different rules for determining if two file names match or not. For example, comparing 'abc'
to 'ABC.'
would be the same file under Windows but completely different files under Linux. Is there a built in function to compare those names?
Failing that, is there a way to convert any arbitrary file name to its canonical representation for the OS?