Bugfix - os.path.dirname returned empty string
This caused an exception while writing pcaps
Solution: http://stackoverflow.com/questions/7783308/os-path-dirname-file-returns-empty
Merge pull request #2 from 7h3rAm/master

Bugfix - os.path.dirname returned empty string