Support redirects for renamed files

This is a work in progress, inspired by a conversation today with @linclark.

NOT READY FOR MERGE