red-brick/npw: Cleanup naming
red-brick/npw: Fix schedule repeat mode lookup
red-brick/npw: Remove pipe as redirection option for stdout and stderr
red-brick/npw: Some style cleanup
red-brick/npw: Create necessary directories while uploading files

Also preverse executable state of uploaded files.