Fix for 'apps' permissions error.

`apps` folder seems to be created after the `chown` command.