Sweden will reopen a preliminary investigation into a rape allegation against WikiLeaks founder Julian Assange.