Fix thaw, filecache and testThawLocal