lzma: implemented writeProperties function