Hack a fix to pass regexp and validation for S3 keys.