move output file opening to backend

Different backends have different requirements.
java: simplify backend init
wireshark: simplify backend init
pyloxi: build ofclasses once during initialization
Merge into master from pull request #121:
Remove backend targets dictionary (https://github.com/floodlight/loxigen/pull/121)