Fix generated resource file