Warning: Failed to rename
The use of rename(old,new) on Windows is a problem since it only works on the filename...