Setting approprite file mode to avoid ascii_to_utf8 issue
changed argument order to support capistrano3