Right now am breaking my head because is this invalid file in our computers or in the patch?
1st: Be sure you have the most recent version of Origin (version 8.2.0, available since July 14). If not or in doubt, uninstall Origin, download again and reinstall.
Once this is done, try to patch again with the Launcher.
If it still doesn't work, you can either:
1. try to download the super 650 mb super patch and apply it (so you patch manually)
2. uninstall completely your game and reinstall and patch.
The "invalid file" means a file on your computer doesn't match what's expected by the program you're running when the error pops up (origin or patch).
Edit: The small incremental manual patches seem to be a cause of this error. The only work around so far, if everything else failed, is to use the super patch manually (download the .exe from link posted previously and double click).