Fix #1512 env.record_dependency crashes on multibyte directories

--HG--
branch : stable
extra : histedit_source : 39b0956321b5b5015eb8a4a058ed34dec291e703%2C068785013438154cbae224b76f76e105c18c3097
Merged in tk0miya/sphinx/stable (pull request #288)

Fix #1512 env.record_dependency crashes on multibyte directories

--HG--
branch : stable
* update CHANGES for pull request #288, #1512

--HG--
branch : stable
merge with stable

--HG--
rename : tests/test_env.py => tests/test_environment.py
merge heads