fix(Lib.Attr.php): Correct erroneous sprintf() (refs #5033)

Also:
- Corrected typo s/syntace/syntaxe/
- Corrected __phpLintWriteFile() error message
fix(createfam): Correct errors when creating a family without attributes (refs #5033)
Merge pull request #1374 from eguaj/3.2-A5033

fix(createfam): Correct errors when creating a family without attributes (closes #5033)