Improve file detection / conversion during spec update