Fix pdf filename when sent by mail