Force pdf url to have a .pdf extension.