Using `fs.copy` and `fs.unlink` instead of `fs.rename`