Use temp directory when updating s3 ami text file

Signed-off-by: Jeffrey Peckham <peckham@pivotallabs.com>