Made file.seek() return nil on error / EOF, as specified in documentation, instead of returning true.
Attach a file by drag & drop or click to upload