Fix #1130: Can't attach file (PDF) to contact.