Append extension if missing; fix