Add the file extension after slugifying.