updated the motion detector cleanup routine do delete files when close to disk space limit.