Mae Sai is good for border run, but you can not apply for a new visa there as there is no thai Office on the burmese side of the border. But border run should be fine and will probably give you 30 more days (depending on your nationality). Going to immigration Office in Chiang Mai to get an extension is also a good option!