Fix xpwn on Darwin and other case-insensitive file systems
Merge pull request #2855 from cstrahan/xpwn-fix-darwin

Fix xpwn on Darwin and other case-insensitive file systems