use the correct method to rewrite the ratings cache after installing an app (bug 889670)