Better error handling when unable to save cached item (e.g. due to
permissions or disk space issues)