moved internal file locks from push task to upload task