Fix PEP-8 formatting recommendations in the attachments module.

This fixes a line length issue in the attachments module, reported
by the pep8 tool.

Reviewed at https://reviews.reviewboard.org/r/6627/