Invoke File.read with or without options depends on Ruby version