Tweak to handle any-case IDs, while keeping lowercase file names.

Signed-off-by: enyst <engel.nyst@gmail.com>