The file will import will work if you open the SMD file in Notepad++ and add a new line at the end and resave the SMD. Then import. Do this for any file that appears to cause this crash.
The error that I fixed was one exposed only because of this error. But the error here is that the SMD files don't end with a new line such as \r\n . MAXScript, for whatever reason, will whig out on this unless the file ends with an extra new line. I can't really change that. So editing the original SMD with a new line is the only viable solution at this time.