Use temporary files for aptly colouring output

Signed-off-by: Rohan Jain <crodjer@gmail.com>