Add some protection against malicious uploads