Actually close the lmdb environment before removing from disk.
Otherwise removal doesn't work on windows due to open file handles.