Update class.attachments.php

json unicode save fix
Merge pull request #79 from stuk88/master

Fixed the unicode JSON saving problem