271 self.bgzf_file = BgzfWriter(filename=Path(file),
272 File "/opt/python/3.6.7/lib/python3.6/pathlib.py", line 1001, in __new__
273 self = cls._from_parts(args, init=False)
274 File "/opt/python/3.6.7/lib/python3.6/pathlib.py", line 656, in _from_parts
275 drv, root, parts = self._parse_args(args)
276 File "/opt/python/3.6.7/lib/python3.6/pathlib.py", line 648, in _parse_args
277 % type(a))
278TypeError: argument should be a str object or an os.PathLike object returning str, not <class 'bytes'>```