Fixed fs_IsSafePath
Implemented CloseArchive.