Allow RAR filename to be file-like object instead.

The filelike object must be seekable.

This mirrors similar funtionality in zipfile.

Based on patch by Chase Zhang.