Test fetch() with auto-generated files.
Strip all trailing whitespace in fetch() (closes #86 and #96).