[MOD] Treat Mac similar to Windows: ignore case sensitivity
[FIX] XQuery, file:move(): respect case when checking for file existence