Changed so that the temporary filenames are shorter

Signed-off-by: Niklas Ekman <niklas.ekman@gmail.com>