A bit of refactoring

* added is_symlink to pathutils
* added create_sym_link to pathutils