Fixes .d dependency file generation when using -MMD.
Preserve timestamps when extracting from library archives.

This is important for build systems that use absolute paths. Without
preserving timestamps, emscripten unpacking the .a's to their original
locations causes an unnecessary re-archival to .a for the next build.