Store: simplified relative path calculation
Altsrcs: filter by relative path, not by name

This resulted in duplicated results for a language when there were files
with the same name in different directories. Since we don't store a
relative path in the DB, the filtering has to be done in Python.

Fixes #45.