fix regression caused by case insensitivity

am developing on a Mac, and forgot that the filesystem is case insensitive. Sorry.