improved nan location discovery, fixes #339
Merge pull request #340 from rvagg/path-spaces-nan-fix

improved nan location discovery, fixes #339