Fixes writing of types.js to project.a.js
Issues: WM-4806