fixed wrong # prefix on URL when writing to amazon aws