Warriors re-sign Sam Rapira