added logic for storing the datetimeended-field when a part has failed
replaced setting datetimeended by re-using finishImportPart
Merge pull request #7 from financial-media/hotfix-failed-import-parts-never-end

added logic for storing the datetimeended-field when a part has failed