Replace abspath with realpath.
Merge pull request #1 from robotoer/master

Replaces abspath with realpath