io.c: By principle, don't use strcpy.

  * even if safe here, don't use it.
http.c: By principle, don't use strcpy.

  * even if safe here, don't use it.
diskcache.c: By principle, don't use strcpy.

  * even if safe here, don't use it.
  * use sizeof for static buffer size.