Don't have BookmarkedFile inherit from file -- that doesn't work in Python 3.
Have it store a stream object and operate on that as though it's a file.