[ruby] What are the Ruby File.open modes and options?