Add patch from bapt@ to fix rename functionality of 1.3.0rc4