Fix: Incorrect sitemap.xml save process.

"fprintf()" is not correct now.
This case have to use "fwrite()".

In Japanese version allow multilingual url.
Because, almost Japanese people are not good at English. And Japanese URL is a little good for SEO in Japan. 
The function "fprintf()" return error if  first parameter have "%".