Detecting case-sensitivity of a filesystem