MOBILE-3062 - Basic validation and error handling for folder creation

@tmughal has also just reminded me that we try to avoid `return` statements inside conditional blocks, again for future maintenance reasons.