# File lib/phusion_passenger/utils/tmpio.rb, line 15
  def self.new(namespace)
    fp = begin
      super("#{Dir::tmpdir}/#{namespace}-#{rand}", RDWR|CREAT|EXCL, 0600)
    rescue Errno::EEXIST
      retry
    end
    unlink(fp.path)
    fp.binmode
    fp.sync = true
    fp
  end