pt_cache_update checks mode, aborts .tmp, and use O_EXCL for opening the .tmp
pt_cache_update checks mode, aborts .tmp, and use O_EXCL for opening the .tmp

qmsk/pngtile,qmsk/pngtile,qmsk/pngtile,qmsk/pngtile,qmsk/pngtile