writeFile in packager-utils updated to be sync

This fixes a problem where config/user.js has not yet been written before it is added to frameworkModules.js for the simulator bar file.

Reviewed by Jeffrey Heifetz <jheifetz@blackberry.com>
Tested by Tracy Li <tli@blackberry.com>