create history data directories for renamed files before spawning the th...

...reads

fixes #775