fix #1242: check first if subtitles dir exists

Just added a check for static/subtitles. @mjptak @bcipolli can you check?