Gravity: Wrapper for the mkdir function