small change to not decode attachment content if it is not octet stream