fixed str vs byte bug in profiler
Merge pull request #430 from miguelgrinberg/master

fixed str vs byte bug in profiler