Fix #125: add per-file licenses.

Fixes #125, surprisingly enough.