Rare-case quality encoding fix - having only '#' in stream

Fixed quality encoding in case of having only '#' symbols in quality stream.