Text this: Cavity-enhanced storage in an optical spin-wave memory