The FilePropertyBag constructor only accepts the lastModified property, however since it extends BlobPropertyBag, it should also support (and "pass through"1) type and endings (MDN)
Is there any way of expressing this in the generated code, or does this need a specific helper?