Open file, possibly relative to a base directory.

def open(self, name, *args, **kwargs):
        """Open file, possibly relative to a base directory."""
        if self.basedir is not None:
            name = os.path.join(self.basedir, name)

        return em.Subsystem.open(self, name, *args, **kwargs)