now it rename() files instead of link()/unlink() them, thus making sure
there will be always a JSON file to show.