Fix names of tmpfiles for Ruby 1.9

Fix names of tmpfiles for Ruby 1.9