add open original function to attachments
strip orig file name when creating suggested filename for attachment download
move attachment upload code into attachments module