skip symlink tests when `not hasattr(os, 'symlink')`