fix bug in str-contains
if no scratch file is yet stored, give user hint