RM: testing file IO with threads in Ruby