Save rename history when moving files
Hopefully make code easier to follow