fixed problem with filelib:is_* functions not identifying symlinks