making sure server/client directories exist