this should unlink() the old file instead