Rename raw to tmp