Add option that controls whether the RWops should be automatically closed