#70 add case option for writing files and folders

Issue https://github.com/tommy351/hexo/issues/70