Fix file name length issue.

Resolved #121 
Added document for #160 
Could you please change this to an `OSError`? `NameError` isn't really intended for file-system related issues.

Also, please include the `featureset_name` in the error message, rather than printing it.