Updates to file state documentation to resolve issue 6503.

Added a warning to the file.py state to include information regarding the usage of modes with a leading 0.