Fixed error handling in writePoints
Cleaned up parseArchiveInfo