keep .html extension when editing

(to make synthax highlight work)
add options to edit command