[Doc] Add an example about multiple extensions

`path.extname` returns only the last extension