normalize path ending before adding to the DB
Merge pull request #193 from svent/normalize_paths

normalize path ending before adding to the DB