Upd file extension in links