Create directories for 'git mv'

This is needed if we are renaming directories.