Adding a flexible directory re-mapper for the bundle

rb: https://rbcommons.com/s/twitter/r/1181/