fclose can't handle null.
Use updated musl.