remove unused property sheets

new version of ceres doesn't need glog, gflags and cxsparse, try
without.
also minor changes when opening output files for writing