'Raises an EACCES IOError if any of the files in the folder of book_id
are opened in another program on windows.'

def windows_check_if_files_in_use(self, book_id):

    if iswindows:
        path = self.path(book_id, index_is_id=True)
        if path:
            spath = os.path.join(self.library_path, *path.split('/'))
            wam = None
            if os.path.exists(spath):
                try:
                    wam = WindowsAtomicFolderMove(spath)
                finally:
                    if (wam is not None):
                        wam.close_handles()
