fix private method name typo
fix #9961: check for existing file when saving attachments
replace static method using Guava
allow different file annotations with same name to be viewed
Merge pull request #1506 from mtbc/rebased/develop/attachments-9961

fix #9961: interactive dialog before overwriting a local file (rebased onto develop)