Remove error printouts

A library should never print anything, so removing the perror()
printouts.
Merge pull request #556 from jin-eld/no-printouts

Remove error printouts