rewriting rtmpdump file