Fix a bug where source and dest are in different folders