Fixed issue: Fail to generate image when running on Linux in background

See aleung/jekyll-plantuml#2