Removed Perforce 2012 specific implementation. fstat is faster then status() on 2012
Re-add missing main()./activate Use python logging module to output log.