strengthened condition for overriting content type and file name.

Checking for whether created_at date for this file already exists,
which is a workaround for already existing sketches.