made Workbook.current() cross-platform compatible