ensure 'utils' available before check; wrapper for write.csv