add attributes in makeProfileGraph to prevent gprof2dot from crashing

closes #239
Merge branch 'gprof2dot_crash' of https://github.com/nickvandewiele/RMG-Py into gprof2dot_crash