Fixed a bug when absolute path given as destination.
More testing.