In python reader, close and open file when re-reading.

This fixes FGE bug 173