Update ScheduleWriter.h

ostream is better, polymorphism with both cout (tests) and a file stream