Fix img file extension