add support for deleting files from the publish directory during fsync

add delete support for fsync