Still open files lock cleanup

Files are still open by Log4perl, causing unlink_testfiles to fail under Windows.