typos
The original rpm bindings allowed Package.new to be used with a filename.
Refactor the code to allow this case.