Adding context manager into thw-python strings-io introduction

Using context managers is a very good general practice, allowing to get rid of many lurking bugs.

I hope this basic introduction will encourage fellow coders to use it more often.