Add folder, file resource dependencies

`managehome => true` may not work in some distro.
Add dependencies to make sure those folders and file exist with the right permission.