Guard against decoding nil file content

Causes this error: https://app.getsentry.com/app20126465herokucom/production/group/26845983/
Why not.