'Copy books from device to disk'

def _save_books(self, paths, target):

    for path in paths:
        name = sanitize_file_name2(os.path.basename(path))
        dest = os.path.join(target, name)
        if (os.path.abspath(dest) != os.path.abspath(path)):
            with lopen(dest, 'wb') as f:
                self.device.get_file(path, f)
