Hi Jean, i was getting that kind of message: Error: Premature end of file , then after long days and weeks of forum navegations etc etc, i proved to disable my KAV antivirus, and woalaaa!!!! . it works!!!.
After that i made an upgrade of KAV and it's not necesary to disable it....
It seems to be magic but it works to me, don't ask me what KAV configuration to touch, just work for me to disable it.
i hope this will help you