Common, kfsio, qcdio, and meta lis: fix close on exec fcntl() invocation.
Common lib: change DisplayInt class to use output stream insert operator, create WriteInt class to invoke output stream write() method.