FIX: Fix a bug with case-sensitive file systems like ext3/4