The justice department filed a notice of appeal with the district court in Greenbelt, Maryland, on Friday, two days after that court and one in Hawaii ruled that the travel ban discriminated against Muslims.