Text this: A generalization of a theorem of Hurewicz for quasi-Polish spaces