fix file permissions for transmission