Fix fopen warning and check URI