Grant file: scheme to the renderer processes

Fix #871