Workaround node-static's Windows path resolution bug, add error handling, fixes #32