ensure files folder is within version control

The change with this pull request ensures that the `files` folder is within version control. Otherwise there might be permission issues writing in that folder when creating new folders or files via the acp.