Update file permissions before deploying