Fix setattribute to setattr, also fix typo
Remove commented line
Remove commented line x2
Merge pull request #1 from akatrevorjay/pull-req-0

Fix bug when writing to sysfs file and typo