This is more robust, since it won't be affected when the path to gdk-pixbuf loaders.cache changes. Thanks @domenkozar.