grid origin coords to int
bug fixes

. fix temp file access permission (on winnt)
. fix deleting intermed files when skipdss is enabled (force save
intermed files)
. fix skip_dss argument