Good point about the old syntax putting the file at the start rather than the end, but if you have a lot of code like that you could just do this:
p = partial(print, file=fp)
p("foo")
p("bar")