Documentation of print() is not complete

aha, you’re printing to a file on SD...
Might have helped the initial question.
That can introduce kinks.