Implement repr() for file objects

A tiny PR with an implementation of `repr` for file objects.