Append the .kicad_pcb extension to the base filename instead of the full filename.