Allowed ``~`` to be a safe character.

Before, any operation on a file or S3 object with ``~`` in its name would return a key signing error.