Stub out FileSystem in tests.
Implement actual file upload.