Only submit files without errors. Closes #2770
Minor bugfix release.