Allow for file permission modification after upload with SFTP

This allows for SFTP uploads to change the file permission after uploading the file. This is particulary useful if you have a web server that needs specific permissions to host a file.