fix(main) if file not exist - send error; sendFile: add stat, add setHeader