Auto append file extension.