Implement move assignment in BasicWriter.