Truncate urls in filenames to 32 characters. Fixes #7

As brought up in #7, we cannot currently save files that reference very long URLs. As a result, we must introduce truncation at some level. In this PR:

- Add regression test for `ENAMETOOLONG`
- Add truncation to 32 characters for URLs in filenames

/cc @mlmorg @mkadin