fix(shell/lean.cpp): use binary mode to open cache file
fix(shell/lean.cpp): use binary mode to open cache file