append .pdf suffix when sending response