Fix issue #85 on broken debug feature and clean up the code related to model name/path
The crash reported in issue #85 (closed) is due to no model path is set during bitstream decoding at encoder. To set decoding model path at encoder, the model name/path related code is first cleaned.