Send back the pub_time

This allows ScriptRepository to set up the correct status of uploaded files.

re #6176