Fix file attachment bug

Spenser Shumaker <sshumake@redhat.com>