Fix interpolation bug.

Fixed a regression bug in the interpolator that was causing the
:basename and :extension interpolations to break.