[archive] Throw correct exceptions and delete temp files
[geodata] Allow empty datasets