This is by design, you cannot save sites built using the publishing site feautures as a template. This is the same functionality that existed in 2007. If you just enabled the publishing features, you could deactivate them and save the site as a template, and then reactivate but this may break other components of the site, and may not work correctly when creating a new site from the template.