Further protection against corrupting css on build and sync.

Change-Id: I47b61a143d6f02e61be4081a1036754f407ea453