add args for controlling rpm %defattr

I found that I always needed to edit the generated RPM spec file in order to set the default file and directory permissions (`%defattr`) before package generation.  This is tedious, so why not allow these to be set via the command-line, along with the extant `user` and `group` variables?

Context: this is related, but separate from, issues #142 and #178.