delete uploads record directory when deleting a record