fixed ValueError: a filename was not supplied (nor was the CookieJar instance initialised with one)