Fix get-bug-attachments script.