Slight improvement to our nativeCanonicalFileName() method.