keep .html extension when editing

(to make synthax highlight work)
Make filename generation routine play nice with Russian and Unix
cut on tag pages, too