Fix crash loading localized resources

This fixes FWNX-1098, which was also reported as Xamarin bug 12197.

Change-Id: I31b5eb619de0bc5ee1281471b4597d9ce80ff31c