core: rename remember to cookies, accept file path instead of boolean