set the `path` attribute in tables.entries_from_file
this also affects the utility function entries_from_dir and the methods
Database.add_from_file, Database.add_from_dir