MODE-2240 Changed FileSystemBinaryStore to retry creating directories if not successful

When creating directories for the binaries is successful, the new code behaves just like the old code. But if creating directories is not successful, the store will retry up to 4 more times (sleeping 0.5 seconds in between in case it's timing-related). If all attempts fail the store will throw a meaningful exception.