Update the extract function for rar packages