Fix getOpenDocumentIDs with one open document

In which a single open document is reported as no open documents because `"1"` from ExtendScript is turned into `1` in Node.

CC @joelrbrandt