When using files in Ruby, what is the difference between the r+ and w+ modes? What about the a+ mode?