dir.c: export excluded_1() and add_excludes_from_file_1()