Implement repr() for file objects