Substitute underscore for at-sign in id and file names to conform to epub naming conventions.