Replace heading _ by . for temp files