Make directory serving permissions more strict

Close #98