fix: handle temp files - ensure media dir is exists
fix: handle temp files - ensure media dir is exists

ref: handle temp files

raccoongang/socraticqs2,raccoongang/socraticqs2,cjlee112/socraticqs2,cjlee112/socraticqs2,cjlee112/socraticqs2,raccoongang/socraticqs2,raccoongang/socraticqs2,cjlee112/socraticqs2