added MagicLamp#path
added MagicLamp#tmp_path
added create and remove tmp directory