Fix #525 FetchHandler's marker file throws file in use exception