Timing framework improvement

@nkogteva please, review.
Is there a reason for fopening directly rather than just using the opal_output streaming to files?  I.e., why not pass in a stream ID to this function, and then use opal_output() for everything?  The caller can send in an output stream that is linked to a file if they want to, and/or to stdout or stderr.