Fixed package lock

`tmpfs` is an int object containing the file descriptor of the temporary
file.
Merge pull request #19 from flavio/fix_package_locking

Fixed package lock
changes 0.9.8
require rhn-client-tools >= 1.7.7 which contains utf8_encode function (bnc#850105)
Merge pull request #20 from mcalmer/master

require rhn-client-tools >= 1.7.7 which contains utf8_encode function (b...