Fix unix timestamp in file upload
File API gives timestamp in milliseconds, not seconds, so this converts it correctly.
Ref T609