Replays
A replay (.rep) is not a map, but it carries the map it was played on. With the
Aftermath plugin, File ▸ Open Replay… opens that map in a view-only tab, beside the replay
viewer. A view-only map is never saved as itself, and the editor never writes a .rep.
Save a Copy or Edit a Copy gives you an ordinary map to keep.