Implement rm and mv.