Fix adjust-dependents when file has no ending line (fixes #6)