Append file extension to public images