Cannot show plot with pgfplots backend

When I try a simple plot with pgfplots backend with the following code:

using Plots 
pgfplots() 
plot(rand(10))

I got the following error:

Error showing value of type Plots.Plot{Plots.PGFPlotsBackend}:
ERROR: SystemError: opening file C:UsersVIETSP~1AppDataLocalTempjl232Atmp/jl_177C.tmp.log: No such file or directory
Stacktrace:
 [1] #systemerror#39(::Nothing, ::Function, ::String, ::Bool) at .\error.jl:106
 [2] systemerror at .\error.jl:106 [inlined]
 [3] #open#293(::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Function, ::String) at .\iostream.jl:283
 [4] open at .\iostream.jl:275 [inlined]
 [5] #open#294(::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}, ::Function, ::getfield(Base, Symb
ol("##258#259")){String}, ::String) at .\iostream.jl:367
 [6] open at .\iostream.jl:367 [inlined]
 [7] read at .\io.jl:297 [inlined]
 [8] save(::TikzPictures.SVG, ::TikzPictures.TikzPicture) at D:\Julia\Julia-1.0.1\.julia\packages\TikzPictures\b9irC\src
\TikzPictures.jl:373
 [9] _display(::Plots.Plot{Plots.PGFPlotsBackend}) at D:\Julia\Julia-1.0.1\.julia\packages\Plots\cDXot\src\backends\pgfp
lots.jl:576
 [10] display(::Plots.PlotsDisplay, ::Plots.Plot{Plots.PGFPlotsBackend}) at D:\Julia\Julia-1.0.1\.julia\packages\Plots\c
DXot\src\output.jl:145
 [11] display(::Any) at .\multimedia.jl:287
 [12] #invokelatest#1 at .\essentials.jl:697 [inlined]
 [13] invokelatest at .\essentials.jl:696 [inlined]
 [14] print_response(::IO, ::Any, ::Any, ::Bool, ::Bool, ::Any) at C:\cygwin\home\Administrator\buildbot\worker\package_
win64\build\usr\share\julia\stdlib\v1.0\REPL\src\REPL.jl:154
 [15] print_response(::REPL.AbstractREPL, ::Any, ::Any, ::Bool, ::Bool) at C:\cygwin\home\Administrator\buildbot\worker\
package_win64\build\usr\share\julia\stdlib\v1.0\REPL\src\REPL.jl:139
 [16] (::getfield(REPL, Symbol("#do_respond#40")){Bool,getfield(REPL, Symbol("##50#59")){REPL.LineEditREPL,REPL.REPLHist
oryProvider},REPL.LineEditREPL,REPL.LineEdit.Prompt})(::Any, ::Any, ::Any) at C:\cygwin\home\Administrator\buildbot\work
er\package_win64\build\usr\share\julia\stdlib\v1.0\REPL\src\REPL.jl:708
 [17] #invokelatest#1 at .\essentials.jl:697 [inlined]
 [18] invokelatest at .\essentials.jl:696 [inlined]
 [19] run_interface(::REPL.Terminals.TextTerminal, ::REPL.LineEdit.ModalInterface, ::REPL.LineEdit.MIState) at C:\cygwin
\home\Administrator\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.0\REPL\src\LineEdit.jl:2261
 [20] run_frontend(::REPL.LineEditREPL, ::REPL.REPLBackendRef) at C:\cygwin\home\Administrator\buildbot\worker\package_w
in64\build\usr\share\julia\stdlib\v1.0\REPL\src\REPL.jl:1029
 [21] run_repl(::REPL.AbstractREPL, ::Any) at C:\cygwin\home\Administrator\buildbot\worker\package_win64\build\usr\share
\julia\stdlib\v1.0\REPL\src\REPL.jl:191
 [22] macro expansion at .\logging.jl:311 [inlined]
 [23] (::getfield(Base, Symbol("##719#721")){Bool,Bool,Bool,Bool})(::Module) at .\client.jl:342
 [24] #invokelatest#1 at .\essentials.jl:697 [inlined]
 [25] invokelatest at .\essentials.jl:696 [inlined]
 [26] macro expansion at .\logging.jl:308 [inlined]
 [27] run_main_repl(::Bool, ::Bool, ::Bool, ::Bool, ::Bool) at .\client.jl:330
 [28] exec_options(::Base.JLOptions) at .\client.jl:242
 [29] _start() at .\client.jl:421

As I checked, julia creates a folder named C:UsersVIETSP~1AppDataLocalTempjl232Atmp which contains a .tex file inside C:\Users\VIETSP~1\AppData\Local\Temp folder.

My ENV["TMP"] is "C:\\Users\\VIETSP~1\\AppData\\Local\\Temp". I changed VIETSP~1 to the correct one VIETSPACEANH, but still got the same error.

I don’t know why \ symbol is eliminated in the path. I think it caused the error.

I use julia 1.0.1 on Windows 10.

Thank you in advance.