It seems that in aco palettes, version 2 can store the name, but for some reason, adobe engineers decided that we should first have the version 1 variation of the file, and after that paste the complete ersion 2 variation.
Furthermore, the swatch names are stored in utf-16 big endian.
This patch works around that, taking a bit of inspiration from how swatchbooker handles the issue.