fix case of location module

This fixes issues on case sensitive filesystems.