Core: improve build_release.py
release tool: fix 'log exists' check to not create the log before it checks ;)
release tool: must decode bytes to string