You are using the latest release version 1.10.03a?
Uncheck "Import from Subfolders" in the auto-import settings.
Move the gamehistory.dat file your \hmarchive folder and import it via Import From File(s).
Try a new session with auto-import. A new handhistory file should be generated.