render.py: handling symlinks and directories, all other files, etc.