Fix partial name with namespace

Because namespace assignment was occurring after dir = dir.dir,
there was never a dir.namespace. Had to put namespace before dir
get its new value.
Update HISTORY for 1.0.3
1.0.3