fix prefix handling in S3FileInput