__repr__ returns a bytestring when filename has latin1 chars

The tests were passing with previous commit, but the original issue
still failed in REPL.  Punting by returning a bytestring that cannot be
repr-ed back to an object if the filename has latin1 characters that
the ASCII code cannot encode.  All other cases working as expected.
Still needs some thought as to the proper test.