fix deploy script encoding and line endings