Add lock for tarball unpacking.

This allows surefire to run multiple tests in parallel even if the tarball must be
unpacked first.