For its 40th year, the San Francisco International Film Festival boldly goes where it has gone before