Change crtmpserver to path, and added some init checks in streamer
Fixed rename problem with tmp files