mount.cifs: check access of credential files before opening