node.toUrlsafe: preserve the dot in filenames.
make pseudopythonparser more resilient.