Fix a problem with smbc_unlink on directories where it was returning EACCES