This thing happens to me pretty often but not all the time. I have no idea what is the pattern. I change something in page and build it. It come back successful but TWS reports that file has been changed outside of the editor and asks me to update it. When I say yes, update it, it changes the file with adding spaces on some places (see attachment).