Purchase at 450 Sansome Street allows media firm to temporarily move newspaper workers for 400-unit condo project.