Merge pull request #2 from eyalr/master

Add python2.6 compatibility.
Add in expandvars to path normalization.