crawler should encode file as base64 before saving (re #216, re #225)