Added prefix validation to rename-files script.