[FEATURE] adding mode option to remote mkdir command

During testing the releases and release id directories were created with
mode 600. This leds to errors regarding accessing the PHP scripts from
the webserver.