Don't copy lock files from a running db.

Copying lock files from a running db fails on windows. In this test case
it is perfectly fine to omit the lock files, which is what we have to do
since we want to copy the files without shutting down the database.