[warningectomy] fix gcc complaints and make import work on x64

To make it work only the bRet intialization in import_data would
have been needed. But it's nicer to have no unhandled case and
unhandled fread() return value complaints. Also the plug-in
should be a little more robust now.