Create canonical tags before saving folder names.

Otherwise if a user has their own 'archive' folder or similar, we may not map
it correctly to our canonical tags.