closes #308 Handle ENAMETOOLONG gracefully