cabinet: Fix and test the undocumented Extract function.

The paths are MAX_PATH length.
The last field is list of files which is checked when flags = 0.
Add tests for the flag in the file list.
3 files changed