Convert Chtimes to a setstat call for reuse with other stat setting functions.