Update mapper.php

Removed slow LIKE statements
Also (i think) fixed bug, that for example
DELETE FROM `*PREFIX*file_map` WHERE `physic_path` LIKE 'example.txt%'
didn't delete the file example.txt itself