in rtmpdump creation changed ifs

changed RTMP[key].hasExist to RTMP[key].isEmpty 'cause the
RTMP["extra"] is created even if it's empty and it can produce
invalit rtmpdump syntax
Merge pull request #6 from burlito/rtmp-dump-empty-patch

Fixed rtmpdump syntax bug