Only save tmp copy of uploaded file when error = 0 (ignore partial uploads)