KAZOO-2875: handle attachments by extension if required (submitted by Sergey Korobkov)
Merge pull request #480 from 2600hz/KAZOO-2875

KAZOO-2875: handle attachments by extension if required