Update render.R

For rendering with plain md files with "not found cache_dir" error