update attachment filename to support viewing in UIWebView