Fixed a bug loosing the date at moving a file or dir

Fixed a bug loosing the date at moving a file or dir