I've found the problem and raised an internal bug report to get it fixed. A temporary work around is to set the texture atlas spacing in the Atlas tab to 3 or higher, then the export works OK.

We will get this added to a release ASAP once fixed.