Fix directory permission walker for Go 1.10
For some reason Go 1.10 handles inaccessible directories differently in filepath.Walk. This was caught by our tests.
Closes #1117 (closed)
Also changes:
- simplify tempdir cleanup logic by only considering top-level modification times
- remove unused argument from 'shouldRemove' function in the 'housekeeping' package
Edited by GitLab Release Tools Bot