Fix bug with extracting causing too large of files