ENH: accept file-like objects in open_memmap

closes gh-3143