fixed bug in sqlite carver that could cause crashes