catch fs.rename errors