Fix TypeError when requesting static files

When requesting non-existent files from under /static/, Mailpile currently throws a TypeError. It should return a 404. This patch fixes that.