Renaming a shared file now works

Signed-off-by: Nico Rutishauser <nr@hotmail.ch>