create the rtp and logs folder if they do not exist