Add missing third argument to open() (patch from Gentoo)