Closed stderr bug fix placed in profile-perf.

Issue:https://github.com/ktf/igprof/issues/19
Merge branch 'closedStdErrorBug' of github.com:mkurkela/igprof into closedStdErrorBug

Conflicts:
	src/profile-perf.cc