Fixed various bugs with filesystem creation.