added function fluxbb_write_cache_file that did not exist in 1.5.3