Persons confined as material witnesses shall, for each day of confinement, receive such fees as are set by the district court.