Update uploader.rb

add gsub new line to empty