Bug 1020152 - Generate pre_installed_collections.json in build time.

does it work on Windows since we have path like `apps/homescreen/collections` in default-homescreens.json?