rpm package for version 0.1
better error reporting
catch file write failure