Fix rename on safari.