Added stub for extracting files. Fixed bug with uninitialized long on the stack.