buttons: add file extension to file type