Trim leading ./ off of relative files and patterns.

This solves a problem where configuration treats dirname and ./dirname as non-equivilant values, leading to unexpected bahvior when patterns not consistently expressed.