Succeeds if the user has access to `File' in mode `Mode'. Fails
silently if this is not the case. `Mode' is one of {read,
write, both}. This used to be difficult. Since we have
access_file/2 it is merely a Quintus compatibility predicate
and should be in quintus.pl. We will leave it here for compatibility
reasons.